
import java.util.ArrayList;
import java.util.List;

public class Odd_cxx {
    public static void main(String[] args) {
        deleteOdd(inputeList());

    }

    public static List<Integer> inputeList() {
        List<Integer> lists = new ArrayList<>();
        for (int i = 0; i < 20; i++) {
            lists.add((int) (Math.random() * 100));
        }
        return lists;
    }

    public static void deleteOdd(List<Integer> args) {
        args = args == null ? null : args;
        System.out.println();
        System.out.println();
        for (int i = args.size() - 1; i > 0; i--) {
            if ((args.get(i) % 2 != 0)) {
                args.remove(i);

            }
        }
        for (int i = args.size() - 1; i > 0; i--) {
            System.out.println(" " + args.get(i));
        }
    }
}


